﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="Suatintuc.aspx.cs" Inherits="admin_Suatintuc" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form id="form1" runat="server">
    <table style="width:100%;">
        <tr>
            <td style="width: 156px">
                Mã Tin Tức</td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server" Width="323px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 156px">
                Tiêu đề</td>
            <td>
                <asp:TextBox ID="TextBox3" runat="server" Width="323px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 156px">
                Mô Tả</td>
            <td>
                <asp:TextBox ID="TextBox4" runat="server" Width="323px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 156px">
                Chi Tiết</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 156px">
                Ngày Đăng
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 156px">
                Hình ảnh</td>
            <td>
                <asp:FileUpload ID="FileUpload1" runat="server" Height="31px" Width="228px" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 156px">
                Nhân viên</td>
            <td>
                <asp:DropDownList ID="DropDownList1" runat="server" 
                    DataSourceID="SqlDataSource1" DataTextField="TenNhanVien" 
                    DataValueField="TenNhanVien" Height="38px" Width="100px">
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:maytinhxachtayConnectionString %>" 
                    SelectCommand="SELECT [TenNhanVien] FROM [TinTuc]"></asp:SqlDataSource>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 156px">
                <asp:Button ID="BtSave" runat="server" Text="Save" />
            </td>
            <td>
                <asp:Button ID="BtCancel" runat="server" Text="Cancel" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </form>
</asp:Content>

